<template>
	<view>
		<uv-notify ref="notify" :message="message" :type="type"></uv-notify>
	</view>
</template>

<script>
export default {
	name: 'Notify',
	props: {
		message: {
			type: String,
			default: ''
		},
		type: {
			type: String,
			default: 'warning'
		}
	},
	methods: {
		show() {
			this.$refs.notify.show();
		}
	}
};
</script>

<style scoped></style>
